﻿namespace blog.Model
{
    public class Comment
    {
        private int? id;
        private int? contentId;
        private int? userId;
        private DateTime? createTime;
        private string? commentMd;
        private string? userName;
        private string? userAvatar;

        public int? Id { get => id; set => id = value; }
        public int? ContentId { get => contentId; set => contentId = value; }
        public int? UserId { get => userId; set => userId = value; }
        public DateTime? CreateTime { get => createTime; set => createTime = value; }
        public string? UserName { get => userName; set => userName = value; }
        public string? UserAvatar { get => userAvatar; set => userAvatar = value; }
        public string? CommentMd { get => commentMd; set => commentMd = value; }
    }
}
